package com.corejsf;

import java.io.Serializable;
import java.util.ArrayList;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Named;

@Named
@SuppressWarnings("serial")
@ApplicationScoped
/**
 * Stores all the users in the system.
 * @author Jitin Dhillon, Kelton Kowalchuk
 *
 */
public class Credentials implements Serializable{
	boolean firstTime = true;
	/**
	 * System List of users.
	 */
	public static ArrayList<User> users = new ArrayList<User>();

	public static ArrayList<User> getCredentials() {
		return users;
	}

	public static void setCredentials(ArrayList<User> credentials) {
		Credentials.users = credentials;
	}
}
